﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="WebSite.cn.login" %>

<%@ Register Src="head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="category.ascx" TagName="category" TagPrefix="uc2" %>
<%@ Register Src="bottom.ascx" TagName="bottom" TagPrefix="uc3" %>
<%@ Register Src="leftimg.ascx" TagName="leftimg" TagPrefix="uc4" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title><%=WebSite.info.info1("", "shoptitle")%></title>
    <meta name="Description" content="<%=WebSite.info.info1("","shopcontent")%>" /> 
    <meta name="Keywords" content="<%=WebSite.info.info1("","shopkey")%>" />
    <link href="style.css" rel="stylesheet" type="text/css" />
    <script language="javascript">
        function locheck() {
            if (document.getElementById("luser").value == "") {
                alert('请输入用户名!');
                document.getElementById("luser").focus();
                return false;
            }
            if (document.getElementById("lpas").value == "") {
                alert('请输入密码!');
                document.getElementById("lpas").focus();
                return false;
            }
        }
        function oclicks() {
            order.orderkey.value = "";
        }
        function oclick() {
            if (order.orderkey.value == "请输入定单号") {
                order.orderkey.value = "";
            }
            if (order.orderkey.value == "") {
                alert('请输入定单号!');
                order.orderkey.focus();
                return false;
            }
        }
    </script>
</head>
<body>
    <center>
	<uc1:head ID="head_1" runat="server" />
<div id="container">
   
    <div align="center"><br />
      <br />
    
      <div style=" width:50%;">
        <table width="95%" border="0" cellpadding="0" cellspacing="1" bgcolor="ebcdcf">
          <tr>
            <td height="28" align="center" bgcolor="#FFFBF4"> <strong class="newslist_title">用户登陆</strong></td>
          </tr>
          <tr>
            <td height="120" align="center" bgcolor="#FFFFFF">
            <table width="90%" border="0" cellspacing="0" cellpadding="0">
                 <form name="lofrm"  action="userinfo.aspx?action=login" method="post">
              <tr bgcolor="#94B1C0">
                <td width="30%" height="28" align="right" bgcolor="#FFFFFF">用户名：</td>
                <td width="70%" align="left" bgcolor="#FFFFFF">　
                  <input name="luser" id="luser" type="text" size="20" />
                  </td>
              </tr>
              <tr bgcolor="#94B1C0">
                <td height="28" align="right" bgcolor="#FFFFFF">密　码：</td>
                <td align="left" bgcolor="#FFFFFF">　
                  <input name="lpas" type="password" id="lpas"  size="20" />
                    </td>
              </tr>
                  <tr bgcolor="#94B1C0">
                <td height="28" align="right" bgcolor="#FFFFFF">验证码：</td>
                <td align="left" bgcolor="#FFFFFF">　
                 <input name="lvalidate" type="text" id="lvalidate" size="20" />
                  <img src="../admin/CheckCode.aspx" width="68px" />

                    </td>
              </tr>
          

              <tr bgcolor="#94B1C0">
                <td height="28" colspan="2" align="center" bgcolor="#FFFFFF">
                  <input name="button" type="submit" class="button" onclick="return locheck()"  value="提 交" />
                  
                  <input type="reset" class="button" value="重 置" name="reset" />
                  
                  <a href="register.aspx">注册新用户</a></td>
              </tr>
              <tr bgcolor="#94B1C0">
                <td height="28" colspan="2" align="center" bgcolor="#FFFFFF">
                    &nbsp;</td>
              </tr>
            
                </form>
            </table>
          
            </td>
          </tr>
        </table>
       
        <br />
      </div>
         <div style="width:70%; text-align:left;list-style-type:decimal ;  "> <%= sLoginMessage %> </div>
    </div>
    </div>  

	<uc3:bottom ID="bottom_1" runat="server" />
</center>
</body>
</html>
